import {useRoutes} from 'react-router-dom';
import AuthenticationRoutes from './AuthenticationRoutes';
import MainRoutes from './MainRouters';

// routes
// ==============================|| ROUTING RENDER ||============================== //

/**
 * 路由生成v6
 * @return{React.ReactElement}
 */
export default function ThemeRoutes(): React.ReactElement | null {
    return useRoutes([MainRoutes, AuthenticationRoutes]);
}
